package com.sunyard.pcc.web.form;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

/**
 * @Author: Hewei
 * @Description:
 * @Date: Created in 9:37 2018/4/12
 */
@Data
public class PageQueryForm implements Serializable{

    private static final long serialVersionUID = -6876039610600392984L;
    /**
     * 每页记录条数
     */
    @Range(message = "每页数目不能小于0", min = 0)
    protected Integer pageSize;//每页的大小

    /**
     * 页码
     */
    @Range(message = "页码不能小于0", min = 0)
    protected Integer pageNo = 1;//默认第一页



}
